package cn.yunbamboos.rest.service.core;

import cn.yunbamboos.rest.service.IRestService;
import cn.yunbamboos.rest.service.RestServiceExchange;

public class DefaultRestServiceExchange implements RestServiceExchange {

    private final IRestService service;

    public DefaultRestServiceExchange(IRestService service) {
        this.service = service;
    }

    @Override
    public IRestService getService() {
        return service;
    }

}
